FROM 10.10.100.118/library/openjdk8-openj9:alpine-slim


RUN mkdir -p /blade/metadata

WORKDIR /blade/metadata

EXPOSE 8300

ADD ./target/blade-metadata.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=test"]
